package model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the suiviformation database table.
 * 
 */
@Entity
@NamedQuery(name="Suiviformation.findAll", query="SELECT s FROM Suiviformation s")
public class Suiviformation implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int idSuivi;

	private int idFormation;

	//bi-directional many-to-one association to Intervenant
	@ManyToOne
	@JoinColumn(name="idIntervenant")
	private Intervenant intervenant;

	public Suiviformation() {
	}

	public int getIdSuivi() {
		return this.idSuivi;
	}

	public void setIdSuivi(int idSuivi) {
		this.idSuivi = idSuivi;
	}

	public int getIdFormation() {
		return this.idFormation;
	}

	public void setIdFormation(int idFormation) {
		this.idFormation = idFormation;
	}

	public Intervenant getIntervenant() {
		return this.intervenant;
	}

	public void setIntervenant(Intervenant intervenant) {
		this.intervenant = intervenant;
	}

}